/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2024-05-28
 * Time: 13:19
 */
public class Animal {
    String name;

    public Animal(String name) {
        this.name = name;
    }
    public void eat(){
        System.out.println(name+"在吃东西！");
    }

}
